<?php
	// connects to a database using the ADODB library for PHP
	
	require_once("../adodb5/adodb.inc.php");
	
	$conn1 =& ADONewConnection('odbc_mssql');
	// uncomment next line to debug sql queries
	// $conn1->debug = true;
	$dsn = "Driver={SQL Server};Server=192.168.1.104;Database=esate_db;";
	$conn1->Connect($dsn,'sa','college') or header("Location: ../main/maintenance.php");
	$conn1->SetFetchMode(ADODB_FETCH_ASSOC);

	$conn2 =& ADONewConnection('odbc_mssql');
	$dsn2 = "Driver={SQL Server};Server=192.168.1.104;Database=seotedb;";
	$conn2->Connect($dsn2,'sa','college') or header("Location: ../main/maintenance.php");
	$conn2->SetFetchMode(ADODB_FETCH_ASSOC);
?>
